html, body, #root, .app {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.app {
  display: flex;
  flex-direction: column;
}

nav {
  flex: 0 0 50px;
}

nav a {
  margin: 0 10px 0 0;
  line-height: 50px;
}

main {
  flex: 1;
}

.page1 .rules .rules-item {
  display: flex;
  margin: 0 0 10px 0;
}

.page1 .rules .rules-item input {
  margin: 0 10px 0 0;
}

.page1 .rules .rules-item div {
  margin: 0 10px 0 0;
}

.page1 .rules .rules-item ul {
  margin: 0 10px 0 0;
}

.page1 .rules .rules-item ul li {
  display: flex;
  margin: 0 0 5px 0;
}

.page1 .action-bar {
  display: flex;
  margin: 0 0 5px 0;
}

.page1 .action-bar button {
  margin: 0 10px;
}
.page1 .action-bar input[type=file] {
  margin: 0 5px;
}